﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="user_profiles.aspx.cs" Inherits="user_profiles" Title="Thoi trang-thoitrang" %>

<%@ Register Src="~/UserControls/left_user.ascx" TagName="MenuLeft" TagPrefix="uc" %>
<%@ Register Src="~/UserControls/NoSpam.ascx" TagName="NoSpam" TagPrefix="uc" %>
<%@ Register Src="~/UserControls/Advertising.ascx" TagName="Adv" TagPrefix="uc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentCss" runat="Server">
    <link href="css/reg.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="js/validate.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentFooter" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMenu" runat="Server">
    <uc:MenuLeft ID="menuLeft" runat="server" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentMain" runat="Server">
    <div class="reg-wrap">
        <h3>
            <img src="images/thong-tin-thanh-vien-hp.gif" alt="thoi trang" width="400" height="40" /></h3>
        
        <!--Reg-->
        <div class="reg">
            <div class="group fl simple">
            <p style="padding-top:10px;padding-bottom:10px;" id="InfoText" runat="server" visible=false>Sửa đổi thông tin hoàn tất</p>
                <div>
                    <label for="email_dangnhap">
                        E-mail đăng nhập:
                    </label>
                    <input id="email_dangnhap" name="Login_Email" type="text" value="<%=usr.Login_Email %>" />
                </div>
                <div>
                    <label for="matma">
                        Mật mã:
                    </label>
                    <input id="matma" name="Password" type="password" value="<%=usr.Password %>" />
                </div>
                <div>
                    <label for="xacnhan_matma">
                        Xác nhận mật mã:
                    </label>
                    <input id="xacnhan_matma" name="xacnhan_matma" type="password" value="<%=usr.Password %>" />
                </div>
                <div>
                    <label for="gioitinh">
                        Giới tính:</label>
                    <select id="gioitinh" name="Gender">
                        <option value="M" <%=usr.Gender=="M"?"selected":"" %>>Nam</option>
                        <option value="F" <%=usr.Gender=="F"?"selected":"" %>>Nữ</option>
                    </select>
                </div>
                <div>
                    <label for="ten">
                        Tên:</label>
                    <input id="ten" name="Firstname" type="text" value="<%=usr.Firstname %>" />
                </div>
                <div>
                    <label for="ho">
                        Họ:</label>
                    <input id="ho" name="Lastname" type="text" value="<%=usr.Lastname %>" />
                </div>
                <div>
                    <label for="loaithanhvien">
                        Loại thành viên:</label>
                    <select id="loaithanhvien" name="UserTypeID">
                        <option value="5" <%=usr.UserTypeID==5?"selected":"" %>>Độc giả</option>
                        <option value="4" <%=usr.UserTypeID==4?"selected":"" %>>Tác giả</option>
                    </select>
                </div>
                <input class="submitbutton" name="commit" type="submit" value="Cập nhật" />
            </div>
            <uc:NoSpam runat="server" ></uc:NoSpam>
        </div>
        <!--//Reg-->
    </div>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentLeft" runat="Server">
    <uc:Adv ID="Adv1" runat="server" />
</asp:Content>
